import React, {lazy, Suspense} from 'react';
const AppRouter = lazy(() => import("./router/index.tsx"));

const App = () => {
  return (<div className="App">
          {/*TODO:带优化样式*/}
      <Suspense fallback={<div>Loading</div>}>
        <AppRouter></AppRouter>
      </Suspense>
    </div>
  );
};

export default App;